<div class="container">
	<div class="tabbable tabs-left" id="admin_bar">
		<%= render 'shared/admin_bar'%>
		<div class="tab-content">
			<div>
				<%= image_tag 'logo.png', :alt => 'Qcafe'%>
			</div>
			<div id="cau_hinh">
				<h2><%= t 'cac_tuy_chinh_cho_trang'%></h2>
				<% flash.each do |key, msg| %>
				<%= content_tag :div, msg, :class => ["alert" , "alert-#{key}"], :id => "notice_#{key}" %>
				<% end %>
				<%= form_tag '', :id=> 'dang_nhap' do %>
				<% for cau_hinh in @cau_hinhs %>
				<p>
					<%= label_tag "cau_hinh[#{cau_hinh.ten}]", t("cau_hinh_vars.#{cau_hinh.ten}") %>
					<%= text_field_tag "cau_hinh[#{cau_hinh.ten}]", cau_hinh.gia_tri, :class=>"input-xlarge" %>
				</p>
				<% end %>
				<p >
					<%= submit_tag t('cap_nhat'), :class=>"btn btn-primary" %>
				</p>
				<% end %>
			</div>
		</div>
	</div>
</div>

<div>
	<%= render "shared/goi_y_caphe" %>
</div>